package com.ruoyi.flowable.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;


/**
 * <p>流程定义<p>
 *
 * @author liuyx
 * @date 2021-04-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("流程定义")
public class FlowProcDefDto implements Serializable {

    @ApiModelProperty("流程id")
    private String id;

    @ApiModelProperty("流程名称")
    private String name;

    @ApiModelProperty("流程key")
    private String flowKey;

    @ApiModelProperty("流程分类")
    private String category;

    @ApiModelProperty("配置表单名称")
    private String formName;

    @ApiModelProperty("配置表单id")
    private Long formId;

    /** 流程业务类型 */
    @ApiModelProperty(name = "流程业务类型")
    private String type;

    /** 流程定义主键 */
    @ApiModelProperty(name = "关联业务名称")
    private String businessName;

    /** 流程详情URL */
    @ApiModelProperty(name = "流程详情URL")
    private String businessURL;

    /** 回调接口API */
    @ApiModelProperty(name = "回调接口API")
    private String businessAPI;

    @ApiModelProperty("版本")
    private int version;

    @ApiModelProperty("部署ID")
    private String deploymentId;

    @ApiModelProperty("流程定义状态: 1:激活 , 2:中止")
    private int suspensionState;

    @ApiModelProperty("部署时间")
    private String deploymentTime;
}
